from assistant_base import AIAssistant

class TextAssistant(AIAssistant):
    def __init__(self, id, name, version, online, score):
        super().__init__(id, name, "文本助手", version, online, score)

    def perform_task(self, task):
        return f"【{self.name}正在生成文本：{task}"


class ImageAssistant(AIAssistant):
    def __init__(self, id, name, version, online, score):
        super().__init__(id, name, "图像助手", version, online, score)

    def perform_task(self, task):
        return f"【{self.name}】正在生成的图片：{task}"


class DataAnalysisAssistant(AIAssistant):
    def __init__(self, id, name, version, online, score):
        super().__init__(id, name, "数据分析助手", version, online, score)

    def perform_task(self, task):
        return f"【{self.name}】正在进行数据分析：{task}"


class TranslationAssistant(AIAssistant):
    def __init__(self, id, name, version, online, score):
        super().__init__(id, name, "翻译助手", version, online, score)

    def perform_task(self, task):
        return f"【{self.name}】正在翻译：{task}"


class VoiceAssistant(AIAssistant):
    def __init__(self, id, name, version, online, score):
        super().__init__(id, name, "语音助手", version, online, score)

    def perform_task(self, task):
        return f"【{self.name}】正在语音交互：{task}"
